<?php
Yii::app()->clientScript->registerScriptFile($this->baseUrl.'/easyui/jquery.min.js');
Yii::app()->clientScript->registerScriptFile($this->baseUrl.'/easyui/jquery.easyui.min.js');
Yii::app()->clientScript->registerScriptFile($this->baseUrl.'/easyui/locale/easyui-lang-zh_CN.js');
Yii::app()->clientScript->registerScriptFile($this->baseUrl.'/js/login.js');
Yii::app()->clientScript->registerCssFile($this->baseUrl.'/easyui/themes/metro-blue/easyui.css');
Yii::app()->clientScript->registerCssFile($this->baseUrl.'/easyui/themes/icon.css');
Yii::app()->clientScript->registerCssFile($this->baseUrl.'/css/font-awesome.css');
Yii::app()->clientScript->registerCss("login_css","
    #login{
        padding:6px 0 0 0;
    }
    .textbox{
        height:22px;
        padding:0 2px;
    }
    #login p {
        height:22px;
        line-height:22px;
        padding:4px 0 0 25px;
    }
    .easyui-linkbutton{
        padding:0 10px;
    }

");
Yii::app()->clientScript->registerScript("login_js","
    var Boom = {
        'LOGIN_URL':'".Yii::app()->createUrl('auth/checkManager')."',

    };


",CClientScript::POS_HEAD);
?>


<div id="login">
   <p>管理员账号：<input type="text" id="manager" class="textbox"/></p>
   <p>管理员密码：<input type="password" id="password"  class="textbox"/></p>
</div>

<div id="btn">
    <a href="javascript:viod(0)" class="easyui-linkbutton">登录</a>
</div>



